import request from '@/utils/request.js'
import { useTokenStore } from "@/stores/token.js";

const baseURL = 'http://8.130.42.115:8000'


export const timeToNowStatistics = (params) => {
    const store = useTokenStore()
    const headers = store.token
    return request.get(baseURL + '/course/getConversationNum',  { headers, params })
}
export const timeSelectedStatistics = (params) => {
    const store = useTokenStore()
    const headers = store.token
    return request.get(baseURL + '/course/getConversationNumRange', { headers, params })
}
